<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
 */

Route::get('/', function () {
    return view('welcome');
});

//账号登录
Route::any('account_login', ['as' => 'account_login', 'uses' => 'LoginController@account_login']);

//快捷登录
Route::any('quick_login', ['as' => 'quick_login', 'uses' => 'LoginController@quick_login']);

//发送验证码
Route::any('send_code', ['as' => 'send_code', 'uses' => 'PublicController@send_code']);

//注册
Route::any('register_account', ['as' => 'register_account', 'uses' => 'RegisterController@register_account']);

//忘记密码
Route::any('forget_password', ['as' => 'forget_password', 'uses' => 'ForgetPasswordController@forget_password']);

//所有分类
Route::any('get_industry', ['as' => 'get_industry', 'uses' => 'IndustryController@get_industry']);

//根据一级分类ID获取二级分类
Route::any('get_juniors', ['as' => 'get_juniors', 'uses' => 'IndustryController@get_juniors']);

//口碑排行
Route::any('ranks_shop', ['as' => 'ranks_shop', 'uses' => 'ShopController@ranks_shop']);

//优惠专区
Route::any('discount_tuans', ['as' => 'discount_tuans', 'uses' => 'TuanController@discount_tuans']);

//猜你喜欢
Route::any('guess_likes', ['as' => 'guess_likes', 'uses' => 'TuanController@guess_likes']);

//商铺详情
Route::any('shop_info', ['as' => 'shop_info', 'uses' => 'ShopController@shop_info']);

//商铺优惠
Route::any('shop_discounts', ['as' => 'shop_discounts', 'uses' => 'ShopController@shop_discounts']);

//商家服务
Route::any('shop_attr_values', ['as' => 'shop_attr_values', 'uses' => 'ShopController@shop_attr_values']);

//商家评论
Route::any('shop_comments', ['as' => 'shop_comments', 'uses' => 'CommentController@shop_comments']);

//团购详情
Route::any('tuan_info', ['as' => 'tuan_info', 'uses' => 'TuanController@tuan_info']);

//团购图文详情
Route::any('image_and_text', ['as' => 'image_and_text', 'uses' => 'TuanController@image_and_text']);

//团购评价
Route::any('tuan_comments', ['as' => 'tuan_comments', 'uses' => 'CommentController@tuan_comments']);

//商家附近团购
Route::any('shop_nearby_tuans', ['as' => 'shop_nearby_tuans', 'uses' => 'ShopController@shop_nearby_tuans']);

//修改用户名
Route::any('modify_nickname', ['as' => 'modify_nickname', 'uses' => 'AccountController@modify_nickname']);

//修改登录密码
Route::any('modify_password', ['as' => 'modify_password', 'uses' => 'PasswordController@modify_password']);

//我的首页
Route::any('my_index', ['as' => 'my_index', 'uses' => 'MyController@my_index']);

//我的收藏
Route::any('my_collections', ['as' => 'my_collections', 'uses' => 'MyController@my_collections']);

//我的积分
Route::any('my_integrals', ['as' => 'my_integrals', 'uses' => 'MyController@my_integrals']);

//我的收货地址
Route::any('delivery_address', ['as' => 'delivery_address', 'uses' => 'AddressController@delivery_address']);

//添加收货地址
Route::any('add_delivery_address', ['as' => 'add_delivery_address', 'uses' => 'AddressController@add_delivery_address']);

//搜索
Route::any('search_result', ['as' => 'search_result', 'uses' => 'SearchController@search_result']);

//二级页面
Route::any('second_page', ['as' => 'second_page', 'uses' => 'SearchController@second_page']);

//店铺相册首页
Route::any('shop_albums', ['as' => 'shop_albums', 'uses' => 'AlbumController@shop_albums']);

//积分商城首页
Route::any('integral_index', ['as' => 'integral_index', 'uses' => 'IntegralController@integral_index']);

//今日新品
Route::any('new_product', ['as' => 'new_product', 'uses' => 'IntegralController@new_product']);

//券礼包
Route::any('gift_bag', ['as' => 'gift_bag', 'uses' => 'IntegralController@gift_bag']);

//积分秒杀
Route::any('second_kill', ['as' => 'second_kill', 'uses' => 'IntegralController@second_kill']);

//兑换纪录
Route::any('exchange_list', ['as' => 'exchange_list', 'uses' => 'IntegralController@exchange_list']);

//积分实物商品详情
Route::any('goods_info', ['as' => 'goods_info', 'uses' => 'GoodsController@goods_info']);

//券详情
Route::any('coupon_info', ['as' => 'coupon_info', 'uses' => 'CouponController@coupon_info']);

//我的优惠券列表
Route::any('counpon_list', ['as' => 'counpon_list', 'uses' => 'CouponController@counpon_list']);

//积分兑换
Route::any('integral_exchange', ['as' => 'integral_exchange', 'uses' => 'IntegralController@integral_exchange']);

//完善收货地址
Route::any('perfect_order', ['as' => 'perfect_order', 'uses' => 'IntegralController@perfect_order']);

//城市列表
Route::any('get_all_city', ['as' => 'get_all_city', 'uses' => 'CityController@get_all_city']);

//根据城市名称查询id
Route::any('get_city_id', ['as' => 'get_city_id', 'uses' => 'CityController@get_city_id']);

//根据城市ID查找区
Route::any('get_areas', ['as' => 'get_areas', 'uses' => 'CityController@get_areas']);

//团利会员
Route::any('member_info', ['as' => 'member_info', 'uses' => 'MemberController@member_info']);

//团利创客
Route::any('maker_info', ['as' => 'maker_info', 'uses' => 'MakerController@maker_info']);

//我的订单
Route::any('order_list', ['as' => 'order_list', 'uses' => 'OrderController@order_list']);

//订单详情
Route::any('order_info', ['as' => 'order_info', 'uses' => 'OrderController@order_info']);

//发布评论
Route::any('release_comment', ['as' => 'release_comment', 'uses' => 'CommentController@release_comment']);
